﻿namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 场地价格信息
    /// </summary>
    public class SitePriceSimpleDto
    {
        /// <summary>
        /// 场地列表
        /// </summary>
        public List<SiteSimpleDto> SiteList { get; set; } = new List<SiteSimpleDto>();

        /// <summary>
        /// 时间列表
        /// </summary>
        public List<TimeInfo> TimeList { get; set; } = new List<TimeInfo>();

        #region inner class
        /// <summary>
        /// 场地概要
        /// </summary>
        public class SiteSimpleDto
        {
            /// <summary>
            /// 场地ID
            /// </summary>
            public Guid ID { get; set; }

            /// <summary>
            /// 场地名称
            /// </summary>
            public string Name { get; set; }

            /// <summary>
            /// 价格列表
            /// </summary>
            public List<SitePriceDto> SitePriceList { get; set; } = new List<SitePriceDto>();
        }

        /// <summary>
        /// 时间信息
        /// </summary>
        public class TimeInfo
        {
            /// <summary>
            /// 开始时间
            /// </summary>
            public string StartTime { get; set; }

            /// <summary>
            /// 结束时间
            /// </summary>
            public string EndTime { get; set; }
        }
        #endregion
    }
}
